
export default function splitList(list) {
	const interfaceList = [];
	const versionList = [];
	list.forEach(v => {
		v.permissionKey ? interfaceList.push(v) : versionList.push(v);
	});
	return { interfaceList, versionList };
}
